package com.ksyzt.ksite2.client.modulefactory;

import com.ksyzt.gwt.client.mainframe.IAppModule;
import com.ksyzt.gwt.client.mainframe.IModuleFactory;
import com.ksyzt.ksite2.client.news.DraftFrame;
import com.ksyzt.ksite2.client.news.NewsManager;
import com.ksyzt.ksite2.shared.SysConst;

/**
 * 草稿箱模块
 * 
 * @author zhangjianshe@gmail.com
 * 
 */
public class DraftModuleFactory implements IModuleFactory
{

    public DraftModuleFactory()
    {
	// TODO Auto-generated constructor stub
    }

    @Override
    public IAppModule createModule()
    {
	DraftFrame frame = new DraftFrame();
	return frame;
    }

    @Override
    public String getModuleCaption()
    {
	return SysConst.CAPTION_DRAFT;
    }

}
